package com.hksj.cm.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName DeviceLevelSettingDTO
 * @Description TODO
 * @Author @陈章
 * @Date 2024/7/22 11:02
 * @Version 1.0
 */
@ApiModel(value = "设备评级设置")
@Data
public class DeviceLevelSettingDTO {

    private Long id;

    @ApiModelProperty(value = "建造标准id(字典表id。100级、1000级)")
    @NotBlank(message = "建造标准id不能为空")
    private String constructionStandardsValue;

    @ApiModelProperty(value = "设备id")
    @NotNull(message = "设备id不能为空")
    private Long deviceId;


}
